import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import Tools from '@/utils/Tools';
import './permission' // permission
import { checkPermi, checkRole } from "@/utils/permission.js";
Vue.use(plugins)

Vue.prototype.$tools = Tools;
Vue.prototype.checkRole = checkRole
Vue.prototype.checkPermi = checkPermi
Vue.config.productionTip = false
Vue.prototype.$store = store

App.mpType = 'app'

const app = new Vue({
  ...App
})

app.$mount()
